<template>
  <Content :pageKey="pageKey" />
</template>

<script>
// Include file content for specified path
export default {
  name: "DrawerContent",
  props: {
    path: {
      type: String,
      default: ''
    }
  },
  data () {
    return {
      show: false,
    }
  },

  computed: {

    pageKey: function () {

      for (var i in this.Pages) {
        if (this.Pages[i].regularPath == this.path) {
          return this.Pages[i].key
        }
      }

      return ''
    }
  }
}
</script>
